body {
  margin: 0;
  padding: 0;
}

// *{
//     font-size: 12px;
//     font-family: PingFangSC-Regular, Chinese Quote, PingFangSC, Microsoft YaHei;
//     box-sizing: border-box;
// }

button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background-color: transparent;
  &:active {
    opacity: 0.6;
  }
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  li {
    margin: 0;
    padding: 0;
  }
}

a {
  text-decoration: none;
  color: #353535;
  &:hover {
    color: #353535;
    text-decoration: none;
  }
  &:active {
    color: #353535;
    text-decoration: none;
  }
}

a,
button {
  cursor: pointer;
}

table {
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;

  tr {
    th,
    td {
      padding: 0;
      margin: 0;
    }

    td {
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }
  }
}

form {
  margin: 0;
  padding: 0;
  border: 0;
  fieldest {
    margin: 0;
    padding: 0;
    border: 0;
  }
  textarea {
    min-width: 25rem;
    height: 5rem;
    border: 1px solid #d8d8d8;
    padding: 0.5rem 1rem;
  }

  input[type='text'] {
    padding: 0 1rem;
    &:focus-visible {
      outline: 0;
    }
  }
}

.form-control:focus {
  box-shadow: none !important;
}

.btn {
  width: auto;
  height: 32px;
  line-height: 32px;
  border-radius: 3px;
  padding: 0 1rem;
  display: inline-block;
  &.btn-link {
    border: 0;
    font-size: 14px;
    color: #0071e3;
  }
  &.btn-default {
    border: 1px solid #efefef;
    background-color: #fff;
  }
  &.btn-primary {
    color: #fff;
    border: 1px solid #0071e3;
    background-color: #0071e3;
    .iconfont::before {
      color: #fff;
    }
  }
  &.btn-disabled {
    color: #ababab;
    border: 1px solid #cdcdcd;
    background-color: #fff;
    cursor: not-allowed;
  }
}

i {
  &.icon {
    &._13 {
      width: 13px;
      height: 13px;
      font-size: 13px;
    }
    &._14 {
      width: 14px;
      height: 14px;
      font-size: 14px;
    }
    &._19 {
      width: 19px;
      height: 19px;
      font-size: 19px;
    }
    &._20 {
      width: 20px;
      height: 20px;
      font-size: 20px;
    }
  }
}

span {
  &.iconfont {
    cursor: pointer;
    &._13 {
      font-size: 13px;
    }
    &._14 {
      font-size: 14px;
    }
    &._19 {
      font-size: 19px;
    }
    &._20 {
      font-size: 20px;
    }
  }
}

svg {
  &.icon {
    width: 1rem;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
    cursor: pointer;
  }
}

.box {
  box-sizing: border-box;
  border: 1px solid #696969;
  &.red {
    border-color: red;
  }
  &.blue {
    border-color: blue;
  }
  &.green {
    border-color: green;
  }
  &.yellow {
    border-color: yellow;
  }
}

.flex,
.row-el {
  display: flex;
}

.flex-1 {
  flex: 1;
}
.flex-2 {
  flex: 2;
}

.row-el,
.col-el {
  padding: 0;
  margin: 0;
}

.flex-col {
  flex-flow: column;
}

.flex-center {
  align-items: center;
}

.flex-justified {
  justify-content: space-between;
}

.centered {
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.of-y {
  overflow: hidden;
  overflow-y: auto;
}
.of-x {
  overflow: hidden;
  overflow-y: auto;
}

.ml1x {
  margin-left: 10px;
}
.mr1x {
  margin-right: 10px;
}
.mt1x {
  margin-top: 10px;
}
.mb1x {
  margin-bottom: 10px;
}
.m1x {
  margin: 10px;
}

.ml2x {
  margin-left: 20px;
}

.mr2x {
  margin-right: 20px;
}

.mt2x {
  margin-top: 20px;
}

.mb2x {
  margin-bottom: 20px;
}

.m2x {
  margin: 20px;
}

.p1x {
  padding: 10px;
}
.p2x {
  padding: 20px;
}

._100 {
  width: 100% !important;
}

.clear {
  margin: 0 !important;
  padding: 0 !important;
}
.cursor {
  cursor: pointer;
}

.blk {
  background-color: #696969;
}
.hidden {
  display: none;
}

.show {
  display: block;
  &.inline {
    display: inline-block;
  }
}

.white-bg {
  background-color: #fff;
}

.br3x {
  border-radius: 3px;
}
.br4x {
  border-radius: 4px;
}
.br5x {
  border-radius: 5px;
}
.br6x {
  border-radius: 6px;
}

.circle {
  border-radius: 50%;
}

.placeholder {
  margin: 0;
  padding: 0;
}
